import request from '@/utils/request'

// 项目概览
export const getProjectOverview = () => {
  return request({
    url: '/system/homePage/overview',
    method: 'get'
  })
}

// 地下掘进进度统计
export const getExcavationProgressMonth = (params) => {
  return request({
    url: '/system/homePage/excavationProgressMonth',
    method: 'get',
    params
  })
}

export const getExcavationOverview = () => {
  return request({
    url: '/system/homePage/excavationOverview',
    method: 'get'
  })
}

// 环境监测
export const getEnvironmentalMonitoring = () => {
  return request({
    url: '/system/homePage/environment',
    method: 'get'
  })
}

export const getHoistLeft = () => {
  return request({
    url: '/system/homePage/hoistLeft',
    method: 'get'
  })
}

export const getSafetyRecord = () => {
  return request({
    url: '/system/homePage/getSafetyRecord',
    method: 'get'
  })
}


